package com.example.springbott.utils;

/**
 * @author 付常莹
 * @description: TODO
 * @date 2022/11/23 21:10
 * 该工具类用于生成随机码
 */
public class CodeCreate {
    public static String getCode(){
        String code = String.valueOf((int) ((Math.random()*9+1)*100000*100));
        return code;
    }
}
